package com.qf.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 轮播图 
 * </p>
 *
 * @author one
 * @since 2021-11-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="IndexImg对象", description="轮播图 ")
public class IndexImg extends Model {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String imgId;

    @ApiModelProperty(value = "图片 图片地址")
    private String imgUrl;

    @ApiModelProperty(value = "背景色 背景颜色")
    private String imgBgColor;

    @ApiModelProperty(value = "商品id 商品id")
    private String prodId;

    @ApiModelProperty(value = "商品分类id 商品分类id")
    private String categoryId;

    @ApiModelProperty(value = "轮播图类型 轮播图类型，用于判断，可以根据商品id或者分类进行页面跳转，1：商品 2：分类")
    private Integer indexType;

    @ApiModelProperty(value = "轮播图展示顺序 轮播图展示顺序，从小到大")
    private Integer seq;

    @ApiModelProperty(value = "是否展示:1表示正常显示，0表示下线 是否展示，1：展示    0：不展示")
    private Integer status;

    @ApiModelProperty(value = "创建时间 创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间 更新")
    private LocalDateTime updateTime;


}
